package ar.edu.unlp.info.tesis.database.operator;

import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Expression;

public class SqlRestriction extends OperatorRestriction {

	public SqlRestriction(String field, Object sql) {
		super(null, sql);
	}

	@Override
	public Criterion getExpresion() {
		return Expression.sql((String) this.getValue());

	}

}
